package com.hk.button;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

import com.hk.global.ImageUrl;

public class ButtonLose extends SuperButton {
	private int x = 750;
	private int y = 100;
//	private int w = 130;
//	private int h = 130;
	private int w = 0;
	private int h = 0;
	
	public ButtonLose() {
		BoundsButton(x, y, w, h);
		SetButtonIcon(ImageUrl.B_REPLAY);
	}
	
	@Override
	protected void ActionButton() {
		button.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
			}
		});
	}
	@Override
	public void HideButton() {
		BoundsButton(x, y, w, h);
	}
	@Override
	public void ShowButton() {
		BoundsButton(0, 0, 0, 0);
	}
	@Override
	public JButton getButton() {
		return button;
	}
}
